home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextFieldCut.z
/
XmTextFieldCut
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt - A TextField function that copies the
primary selection to the clipboard and deletes the selected
text
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/TextF.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
TTTTiiiimmmmeeee ttttiiiimmmmeeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt copies the primary selected text to the
clipboard and then deletes the primary selected text. This
routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
callback lists are registered, the procedures of the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
callbacks.
This routine calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures,
possibly multiple times, with the _s_e_l_e_c_t_i_o_n member of the
XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt set to _C_L_I_P_B_O_A_R_D and with the _p_a_r_m
member set to XXXXmmmmMMMMOOOOVVVVEEEE. If the transfer is successful, this
routine then calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures for the
_C_L_I_P_B_O_A_R_D selection and the _D_E_L_E_T_E target.
_w_i_d_g_e_t Specifies the TextField widget ID.
_t_i_m_e Specifies the time at which the selection value is
to be modified. This should be the time of the
event that triggered this request.
For a complete definition of TextField and its associated
resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
RRRREEEETTTTUUUURRRRNNNN
This function returns False if the primary selection is
NULL, if the _w_i_d_g_e_t does not own the primary selection, if
the function is unable to gain ownership of the clipboard
selection, or if no data is placed on the clipboard.
Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
Page 1 (printed 10/24/98)